package com.youth.feign.hystrix;

import com.youth.feign.UserFeign;
import com.youth.result.ResultBean;

/**
 * @author: wuxian
 * @date: 2020/1/7 11:06
 */
public class UserFallBack implements UserFeign {
    @Override
    public ResultBean getUserPressionByName(String userName) {
        return ResultBean.returnNetWorkBusyMsg();
    }

    @Override
    public ResultBean getUserRolesByName(String userName) {
        return ResultBean.returnNetWorkBusyMsg();
    }
}
